package com.assignwork.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class VoyageBillCabinSubmitByCabinDTO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "票元数据ID")
    private Long sourceId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "航次ID")
    private Long voyageId;

    @ApiModelProperty(value = "船名")
    private String shipNameZh;

    @ApiModelProperty(value = "航次")
    private String voyage;

    @ApiModelProperty(value = "票号")
    private String billNo;

    @ApiModelProperty(value = "舱key")
    private String cabinKey;

    @ApiModelProperty(value = "货名")
    private String cargoName;

    @ApiModelProperty(value = "包装类型")
    private String cargoPackage;

    @ApiModelProperty(value = "舱号")
    private String cabins;

    @ApiModelProperty(value = "货件")
    private Integer cargoPiece;

    @ApiModelProperty(value = "货吨")
    private BigDecimal cargoTon;


}
